//@flow
/**
 * 首页
 */
import React, { Component } from 'react';
import { 
    View,
    Text
 } from 'react-native';
import { NavBar } from "../../container/navBar";
import { Button } from 'antd-mobile-rn';
import { Navigate } from '../../common/navigate';
export class Home extends Component {
    render(){
        return (
        <View>
            <NavBar titleView="首页"/>
            <Button onClick={()=>{
                Navigate.navigate('RequestAnalyzer')
            }}>去分析请求</Button>
            <Button onClick={()=>{
                Navigate.navigate('LoginStack')
            }}>去登陆</Button>
        </View>)
    }
}